﻿using System;
using System.Collections.Generic;

namespace vite_entity.Entities;

/// <summary>
/// 部门表
/// </summary>
public partial class SysDept
{
    /// <summary>
    /// 主键
    /// </summary>
    public long Id { get; set; }

    /// <summary>
    /// 部门名称
    /// </summary>
    public string Name { get; set; } = null!;

    /// <summary>
    /// 部门编号
    /// </summary>
    public string Code { get; set; } = null!;

    /// <summary>
    /// 父节点id
    /// </summary>
    public long ParentId { get; set; }

    /// <summary>
    /// 父节点id路径
    /// </summary>
    public string TreePath { get; set; } = null!;

    /// <summary>
    /// 显示顺序
    /// </summary>
    public short? Sort { get; set; }

    /// <summary>
    /// 状态(1-正常 0-禁用)
    /// </summary>
    public sbyte Status { get; set; }

    /// <summary>
    /// 创建人ID
    /// </summary>
    public long? CreateBy { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CreateTime { get; set; }

    /// <summary>
    /// 修改人ID
    /// </summary>
    public long? UpdateBy { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }

    /// <summary>
    /// 逻辑删除标识(1-已删除 0-未删除)
    /// </summary>
    public sbyte IsDeleted { get; set; }
}
